package cn.harry.modular.society.domain;

import cn.harry.common.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.SqlCondition;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.util.Date;

/**
 * 会员用户
 *
 * @TableName t_huiyuanyonghu
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "t_huiyuanyonghu")
@Data
public class Huiyuanyonghu extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 用户账号
     */
    @Schema(description = "用户账号")
    @TableField(condition = SqlCondition.LIKE)
    private String yonghuzhanghao;

    /**
     * 密码
     */
    @Schema(description = "密码")
    private String mima;

    /**
     * 用户姓名
     */
    @Schema(description = "用户姓名")
    @TableField(condition = SqlCondition.LIKE)
    private String yonghuxingming;

    /**
     * 性别
     */
    @Schema(description = "性别")
    private String xingbie;

    /**
     * 职位
     */
    @Schema(description = "职位")
    private String zhiwei;

    /**
     * 部门
     */
    @Schema(description = "部门")
    private String bumen;

    /**
     * 年龄
     */
    @Schema(description = "年龄")
    private Integer nianling;

    /**
     * 照片
     */
    @Schema(description = "照片")
    private String zhaopian;

    /**
     * 用户手机
     */
    @Schema(description = "用户手机")
    private String yonghushouji;

    /**
     * 加入时间
     */
    @Schema(description = "加入时间")
    private Date jiarushijian;
    /**
     * 类型
     */
    @Schema(description = "类型")
    private String type;
    /**
     * 地区
     */
    @Schema(description = "地区")
    private String diqu;

}